class CreateTestResults < ActiveRecord::Migration
  def change
    create_table :test_results do |t|
      t.references :test
      t.references :causeOfFailure

      t.timestamps
    end
    add_index :test_results, :test_id
    add_index :test_results, :causeOfFailure_id
  end
end
